/**
 * @Project HGEMS
 * @Author Tran Manh Hung
 * @Email: hungtmit@gmail.com | tmh@xwebgate.com
 * @Copyright © 2010 TMH. All rights reserved
 * @Createdate Nov 13, 2010
 * @Createtime 10:11:03 PM
 */

package events
{
	import flash.events.Event;

	public class HGInvoiceEvent extends Event
	{
		public static const CREATE_I_INVOICE:String = "createIInvoice";

		public static const PAY_I_INVOICE:String = "payIInvoice";

		public static const UPDATE_I_INVOICE:String = "updateIInvoice";

		public static const CALCULATE_I_INVOICE_AMOUNT:String = "calculateIInvoiceAmount";

		public var hgData:Object;

		public function HGInvoiceEvent(type:String, hgData:Object = null, bubbles:Boolean = false, cancelable:Boolean = false)
		{
			super(type, bubbles, cancelable);

			this.hgData = hgData;
		}

		override public function clone():Event
		{
			return new HGInvoiceEvent(type, hgData, bubbles, cancelable);
		}
	}
}